package org.example.service;

public class ProductService {
    public void save() {
        System.out.println("商品保存了。。。。。");
        int r = (int)(Math.random()*2);
        if(r==0) {
            int x = 10 / 0;
        }
    }

    public int find() {
        System.out.println("商品查询数量了。。。。。");
        return 99;
    }
}
